import { developmentUrl } from "../config/env";
import request from "../config/axios";
export const ProductEditingSubmit = (data) => request({
    url: `${developmentUrl}/shop/goods`,
    method: "POST",
    data
})
export const ProductEditingDataListInterface = (data) => request({
    url: `${developmentUrl}/shop/goods?id=${data.id}`,
    method: "GET"
})
export const ProductEditingCategoryList = (data) => request({
    url: `${developmentUrl}/shop/category/list`,
    method: "GET"
})
// http://localhost:9528/dev-api/shop/goods